<?php

namespace app\base\model;


use think\Model;

class ConfigGrop extends Model
{


    protected function initialize(){
        //需要调用model的intitalize方法
        parent::initialize();
        //TODO:自定义的初始化
    }

    public function get_config_groups($id){
        return self::get($id)->getData();
    }


    public function get_config_bycd_key($cd_key){
        return self::getByCd_key($cd_key)->getData();
    }



}